home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14422 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Using C under LINUX / U*NIX
  5. Date: 14 Apr 1996 12:09:24 -0700
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4krih4INNies@keats.ugrad.cs.ubc.ca>
  8. References: <829500142.15879@greer.demon.co.uk>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <829500142.15879@greer.demon.co.uk>,
  12. Peter Hawkins <peter@greer.demon.co.uk> wrote:
  13. >
  14. >As I am fairly new to programming in C and come from a DOS background,
  15. >I would like to know if there is any information available on using C
  16. >in the U*NIX environment. I am particularily interested in accessing
  17. >serial devices, but any info on this subject would be welcome. 
  18.  
  19. _Advanced_Programming_in_the_UNIX_Environment_ by W. Richard Stevens, Addison
  20. Wesley, ISBN 0-201-56317-7.
  21.  
  22. The comp.unix.programmer newsgroup should be useful to you, but comp.lang.c is
  23. for purely C language questions/answers and discussion.
  24.  
  25. Serial programming under UNIX is normally done through a tty interface
  26. abstraction that is standardized by POSIX.1. The operating system provides full
  27. facilities for controlling the serial port so you should not need to play with
  28. the hardware directly (unless you are using the serial port to do something
  29. other than serial communications---in which case it is probably better to write
  30. a custom device driver for the operating system).
  31.